package com.example.demo.service.impl;

import com.example.demo.api.HelloService;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2018/7/20.
 */
@RestController
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        return "Hello " + name + "!";
    }
}